import Vue from 'vue'
import App from './App'
import store from 'store/store.js'

import request from 'common/request.js'
<<<<<<< HEAD
Vue.prototype.$request = request 
=======
import $p from 'utils/public.js'
import tabbar from 'components/tabbar/tabbar.vue'
Vue.component('tab-bar',tabbar) //挂载
Vue.prototype.$request = request 
Vue.prototype.$p = $p
>>>>>>> b0cc8c0 (hello)

uni.$showMsg = function(title = '数据加载失败！', duration = 2000) {
	uni.showToast({
		title,
		duration,
		icon: 'none',
	})
}

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
